<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn">
<head>
    <meta charset="utf-8">
    <title>{{ $title or config('system.title') }}</title>
    <meta content="{{ $keywords or config('system.keywords') }}" name="keywords" />
    <meta content="{{ $description or config('system.description') }}" name="description" />
    <link rel="stylesheet" href="{{ asset($theme.'/css/layout.css') }}" type="text/css"/>
    <link rel="stylesheet" href="{{ asset($theme.'/css/kunena.forum-min.css') }}" type="text/css"/>
    <link rel="stylesheet" href="{{ asset($theme.'/css/template.css') }}" type="text/css"/>
    <link rel="stylesheet" href="{{ asset($theme.'/css/style.css') }}" type="text/css"/>
    <link rel="stylesheet" href="{{ asset($theme.'/css/scheme/color_scheme_1.css') }}" id="color_scheme" type="text/css"/>
    <link rel="stylesheet" href="{{ asset($theme.'/css/caroufredsel.css') }}" type="text/css"/>
    <link rel="stylesheet" href="{{ asset($theme.'/css/footer.css') }}" type="text/css"/>
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
    <script src="{{ asset($theme.'/js/jquery-migrate.min.js') }}" type="text/javascript"></script>
    <script src="{{ asset($theme.'/js/bootstrap.min.js') }}" type="text/javascript"></script>
</head>
<body class="body__home">
<!--[if lt IE 9]>
<div style=' clear: both; text-align:center; position: relative;'>
    <a href="http://windows.microsoft.com/en-us/internet-explorer/download-ie">
        <img src="{{ asset($theme.'/images/warning_bar_0000_us.jpg') }}" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
    </a>
</div>
<![endif]-->
<div id='wrapper'>
    <div class="wrapper-inner">
        @include($theme.'.layouts/_nav')
    </div>
</div>
@yield('content')
@include($theme.'/layouts/_footer')
@include($theme.'/layouts/_pop')
<script src="{{ asset($theme.'/js/jquery.smint.js') }}" type="text/javascript"></script>
<script src="{{ asset($theme.'/js/jquery.cookies.js') }}" type="text/javascript"></script>
<script src="{{ asset($theme.'/js/style_switcher_demo.js') }}" type="text/javascript"></script>
<script src="{{ asset($theme.'/js/jquery.caroufredsel.js') }}" type="text/javascript"></script>
<script src="{{ asset($theme.'/js/jquery.modernizr.min.js') }}" type="text/javascript"></script>
<script src="{{ asset($theme.'/js/jquery.stellar.min.js') }}" type="text/javascript"></script>
<script src="{{ asset($theme.'/js/scripts.js') }}" type="text/javascript"></script>
<script src="{{ asset($theme.'/js/time.js') }}" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready( function() {
        $('.scroll-to-fixed-fixed').smint({
            'scrollSpeed' : 1000,
            'offTop'  : 1
        });
        $("#style_switcher .toggler").click(function(){
            $("#style_switcher").toggleClass("hidden");
        })
        $("#style_switcher").style_switcher("{{ $theme }}/css/scheme/","/scheme");
        if (!Modernizr.touch) {
            $.stellar({responsive: true,horizontalScrolling: false});
        }
    });
</script>
</body>
</html>